package demo07System;

import java.util.Date;
import java.util.zip.DataFormatException;

public class Demo01 {
    public static void main(String[] args) {
        Date d1=new Date();
        System.out.println(d1.getTime());
        long num1=System.currentTimeMillis();
        for (int i = 0; i < 10000; i++) {
            System.out.println("Hello World");
        }
            long num2 = System.currentTimeMillis();
            long num3=num2-num1;
            System.out.println("num3 = " + num3);
    }

}
